Bootstrap is the framework of Starhotel. It's currently the most popular framework, because it's clean, stable and easy to work with. The starhotel grid is based upon the 1170px grid divided into twelve columns. You can easily edit the pages or create new ones. Please read the bootstrap documentation if you don't know how the framework works.
This is the general HTML of Starhotel:
<!DOCTYPE HTML>
<html>
<head>
<meta charset="utf-8">
<title>Starhotel</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
<link rel="shortcut icon" href="favicon.ico">
<!-- Stylesheets -->
<!-- Javascripts -->
</head>
<body>
<!-- Top header -->
<div id="top-header"> </div>
<!-- Header -->
<header>
<!-- Navigation -->
</header>
<!-- Parallax Slider -->
<section class="parallax-slider">
<!-- Title section -->
</section>
<!-- Content -->
<section>
<div class="container">
<div class="row">
<div class="col-md-12">
<!-- Content here -->
</div>
</div>
</section>
<!-- Footer -->
<footer>
<!-- Footer section -->
<div class="footer-bottom">
<!-- Footer bottom -->
</div>
</footer>
<!-- Go-top Button -->
<div id="go-top"><i class="fa fa-angle-up fa-2x"></i></div>
</body>
</html>
The navigation is based on the basic Bootstrap navigation. Starhotel also makes use of the Yamm! Megamenu extension. To find out more go to http://geedmo.github.io/yamm/
Changing the wide to boxed layout style is simple. The standard layout style is wide. To go boxed, just wrap all HTML inside the body tag in a div called boxed and you're done. See example:
<body>
<div class="boxed">
<!-- Top header -->
<!-- Header -->
<!-- Parallax Slider -->
<!-- Content -->
<!-- Footer -->
<!-- Go-top Button -->
</div>
</body>
Make sure the layout style has been set to boxed. You can configure a pattern by adding a pattern class to the body, example:
<body class="pattern-1">
<div class="boxed">
<!-- Top header -->
<!-- Header -->
<!-- Parallax Slider -->
<!-- Content -->
<!-- Footer -->
<!-- Go-top Button -->
</div>
</body>
<body>
<!-- Background image -->
<img src="images/background/1200x800.gif" id="background-image" alt="background image">
<div class="boxed">
<!-- Top header -->
<!-- Header -->
<!-- Parallax Slider -->
<!-- Content -->
<!-- Footer -->
<!-- Go-top Button -->
</div>
</body>
The following stylesheets are used in this template:
There are eight predefined color combinations for Starhotel: black, blue, brown, green, orange, purple, red and turqoise. Creating your own is easy by copying the stylesheet and changing the colors. You can also use one of the predefined colors:
<link rel="stylesheet" href="css/colors/turquoise.css">
Starhotel makes use of the following JS files:
Please check the plug-ins documentation if you're in need of further detail. Original documentation of the plug-ins can be found here:
The main font of Starhotel is Open Sans.
<link rel="stylesheet" href="http://fonts.googleapis.com/css?family=Open+Sans:400italic,600italic,400,600,700">
Starhotel makes use of the Fontawesome icon pack. It includes over 369 retina ready icons. To use an icon follow these steps:
fa-lg (33% increase), fa-2x, fa-3x, fa-4x, or fa-5x classes. Example: <i class="fa fa-iconname fa-5x">
For a more detailed description about the icons, visit: http://fontawesome.io/icons/
The lightbox is created by the prettyPhoto plugin. Creating a lightbox is simple, follow these steps:
<a href="images/example-lg.jpg" rel="prettyPhoto"> <img src="images/example.jpg" alt="Example" /> </a>
Please read the prettyPhoto documentation for a more detailed instruction.
Source: http://www.no-margin-for-errors.com/projects/prettyphoto-jquery-lightbox-clone/documentation
Please read the full documentation in 'revolution slider documentation' folder.
The Owl Carousel is used for multiple purposes: reviews, room-slider and a standard-slider. You can easily edit the width of the slider by changing the Bootstrap column wrapped around it. Here is an example of the room slider:
<section class="standard-slider room-slider">
<div class="col-sm-12 col-md-8">
<div id="owl-standard" class="owl-carousel">
<div class="item"> <a href="images/rooms/slider/room-slider-02.jpg" data-rel="prettyPhoto[gallery1]"><img src="images/rooms/slider/room-slider-02.jpg" alt="Image 2" class="img-responsive"></a>
</div>
<div class="item"> <a href="images/rooms/slider/room-slider-02.jpg" data-rel="prettyPhoto[gallery1]"><img src="images/rooms/slider/room-slider-02.jpg" alt="Image 2" class="img-responsive"></a>
</div>
</div>
</div>
</section>
It's possible to animate almost anything you want.
You can find preview animations that you can use here: http://daneden.github.io/animate.css.
<div class="col-sm-3 bounceIn appear" data-start="300">
<!-- Parallax Effect -->
<script type="text/javascript">$(document).ready(function(){$('#parallax-pagetitle').parallax("50%", -0.55);});</script>
<section class="parallax-effect">
<div id="parallax-pagetitle" style="background-image: url(./images/parallax/1900x911.gif);">
</div>
</section>
In order to use the reservation form, you should have an e-mailadres ready where you'll receive all the requested reservations. To configure this emailadres, follow these steps:
To change the number of adults/children that the booker can pick from, simply add a new option with a new value number. See example:
<select name="adults" id="adults" class="form-control"> <option value="1">1 adult</option> <option value="2">2 adults</option> <option value="3">3 adults</option> <option value="4">4 adults</option> </select>
In order to use the contact form, you should have an e-mailadres ready where you'll receive all the sent messages. To configure the contactform, follow these steps:
This is a short tutorial about adding a new field to the form. In this case we'll add a phone number to the reservation form.
<div class="form-group"> <label for="phone">Phone</label> <input name="phone" type="text" id="phone" value="" class="form-control" placeholder="Please enter your phone number"/> </div>
action="php/reservation.php"
$phone = $_POST['phone'];
else if (trim($phone) == '') {
echo '<div class="alert alert-danger alert-dismissable">
<button type="button" class="close" data-dismiss="alert" aria-hidden="true">×</button>Attention! Please enter your phone number.</div>';
exit();
}
The customers phone number is: $phone
Follow these steps to setup the Google Maps plug-in.
2 basic PSD files are included into this download. The following pages where designed:
Please note that all PSD files are layered and organized into folders. The grid is based upon the Twitter Bootstrap grid. And all icons where used from fontAwesome.
Starhotel used the following plug-ins, images, icons or other files as listed.
jQuery Plug-ins
CSS Plug-ins
Images
Images in the demo are downloaded from: http://www.photodune.net and www.thinkstockphotos.com Please contact if you want to purchase a specific image used in the preview version.
Icons
Fonts
HTML/CSS Framework
Once again, thank you for purchasing this theme. Starhotel has been a huge project and has been tested on all kind of browsers, devices, people, but off course you can run into problems. If that is the case please contact us, so help can be provided! If you have a more general question relating to the themes on ThemeForest, you might consider visiting the forums and asking your question in the "Item Discussion" section.
Slashdown